icontheme: Remove unused function
authorBenjamin Otte <otte@redhat.com>
Thu, 4 Apr 2013 14:19:36 +0000 (16:19 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 6 Apr 2013 08:47:55 +0000 (10:47 +0200)
gtk/gtkicontheme.c
gtk/gtkicontheme.h

index c79826c2adb2079e66357b57e6a4027b6be1e79e..e118306e46a9c86a526b09a98256fd2783542b2a 100644 (file)
@@ -182,7 +182,6 @@ struct _GtkIconThemePrivate
   guint is_screen_singleton : 1;
   guint pixbuf_supports_svg : 1;
   guint themes_valid        : 1;
-  guint check_reload        : 1;
   guint loading_themes      : 1;
 
   /* A list of all the themes needed to look up icons.
@@ -4798,30 +4797,6 @@ find_builtin_icon (const gchar *icon_name,
   return min_icon;
 }
 
-void
-_gtk_icon_theme_check_reload (GdkDisplay *display)
-{
-  gint n_screens, i;
-  GdkScreen *screen;
-  GtkIconTheme *icon_theme;
-
-  n_screens = gdk_display_get_n_screens (display);
-  
-  for (i = 0; i < n_screens; i++)
-    {
-      screen = gdk_display_get_screen (display, i);
-
-      icon_theme = g_object_get_data (G_OBJECT (screen), "gtk-icon-theme");
-      if (icon_theme)
-       {
-         icon_theme->priv->check_reload = TRUE;
-         ensure_valid_themes (icon_theme);
-         icon_theme->priv->check_reload = FALSE;
-       }
-    }
-}
-
-
 /**
  * gtk_icon_theme_lookup_by_gicon:
  * @icon_theme: a #GtkIconTheme
index 0b4ee405f607073146ba022443481279e3e4baeb..50988d71f8f872f675ca484b0297fd57db6ba184 100644 (file)
@@ -267,7 +267,6 @@ gboolean              gtk_icon_info_get_attach_points (GtkIconInfo    *icon_info
 const gchar *         gtk_icon_info_get_display_name  (GtkIconInfo    *icon_info);
 
 /* Non-public methods */
-void _gtk_icon_theme_check_reload                     (GdkDisplay *display);
 void _gtk_icon_theme_ensure_builtin_cache             (void);
 
 G_END_DECLS